package com.hzw.saas.web.storage;

import com.ulisesbocchio.jasyptspringboot.annotation.EnableEncryptableProperties;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author EZ09
 * @since 07/19/2021
 */
@SpringBootApplication
@ComponentScan(value = "com.hzw.saas")
@EnableAsync
@EnableEncryptableProperties
public class StorageApplication {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(StorageApplication.class);
        app.setBannerMode(Banner.Mode.CONSOLE);
        app.run(args);
    }
}
